package client02;

/**
 * 饿汉式-枚举类
 */
public enum Singleton2 {
    INSTANCE;

    public static void main(String[] args) {
        Singleton2 instance = Singleton2.INSTANCE;
    }
}

